Data Hub target reference
Data Hub target is an Early Access release. Refer to the Early Access disclaimer for details.
This reference lists the settings for a Data Hub target in Data Integration. For steps, refer to Configuring Data Hub as a target.
Data Hub connection
Select Connections and then + New Connection, or select Add New on the Select data target step. Enter the fields below, and then select Test Connection.
| Field | Required | Input | Description | Where to find it |
|---|---|---|---|---|
| Connection Name | Yes | Text | A name for the connection. | Your choice. |
| Base URL for API Requests | Yes | Drop-down list | The Data Hub Cloud region that hosts the repository. | The repository Configure tab in Data Hub. |
| Username | Yes | Text | The repository username. This value is your Boomi account ID. | The repository Configure tab. |
| Hub Authentication Token | Yes | Secret | The repository's secret token. Stored encrypted. | The repository Configure tab. |
| Repository ID | Yes | Text | The ID of the repository that the connection loads into. | Your Data Hub repository details. |
| Account Email | Yes | Text | The Boomi user email for Platform API calls, such as listing the repository's sources. | Your Boomi user. |
| DataHub API Key | Yes | Secret | The Boomi Platform API key for that user. | Boomi Platform settings. |
| Custom File Zone | No | Toggle | Turn on to use a custom file zone for staging. Amazon S3 is the only supported custom file zone. | Your file zone configuration. |
One connection points to one repository. Test Connection checks every field, including the repository credentials, the repository ID, the account email, and the API key, and confirms that the repository can be reached.
Regenerating the Hub token in Data Hub invalidates the connection until you update it.
For more information about custom file zones, refer to Custom file zone.
Extraction modes
Select Extraction Mode on the Configure schema step. Select how data is extracted. The mode you select applies to the whole data flow. You can adjust it for individual tables.
| Mode | Description |
|---|---|
| Standard extraction | Extracts the selected tables. Each table can use an extract method and an incremental field. |
| CDC (Change Data Capture) | Log-based extraction that captures INSERT, UPDATE, and DELETE changes from the database redo logs. |
| Custom Query | Extracts data with your own SQL query. Select Run Mapping to fetch column definitions, then select a target model in Loading To. |
Initial migration settings for CDC
CDC needs a setting for existing data:
- Enable Initial Migration: A one-time load of historical data. It stays active until the data flow runs, then turns off automatically.
- Skip Initial Migration (default): Extracts changes through CDC only. Each selected table enters the Waiting For Sync status.
Row status values
| Status | Meaning |
|---|---|
| Live | The table is ready to run. |
| Incomplete | A required item is missing, or a mapping rule is broken. Select the status to see the reason. |
| Excluded | The table is not included in the data flow. |
Collection write modes
A collection is a repeatable field group or a List field. Tables that map a collection show the Loading Mode (For Collections fields) setting on the Table Target Settings tab. Select one of the following modes:
| Mode | Behavior | Notes |
|---|---|---|
| Upsert Merge (default) | Matches items by their key fields. Updates matching items, adds new items, and keeps existing items that are not in the load. | Items removed from the source are not removed in Data Hub. Requires a key-matched collection. |
| Overwrite (Replace Items) | Replaces each collection with the items in the load. Existing items that are not in the load are removed, so the source must send the full collection. | Removes items from other sources. Collections matched by order always use this mode. |
Record fields are not affected by this setting. Empty or null collection values leave the collection unchanged in both modes. For more information about how merge works in Data Integration, refer to Upsert-merge method overview.
Type mapping
| Data Hub field type | Shown in Data Integration as | Compatible source types |
|---|---|---|
| STRING | Text | String, VARCHAR, CHAR, TEXT, and integer, numeric, or boolean values |
| CLOB | Long Text | Long strings and serialized JSON |
| INTEGER | Integer | INT, BIGINT, SMALLINT, TINYINT, and NUMERIC |
| FLOAT | Float | DECIMAL, NUMERIC, FLOAT, DOUBLE, and INTEGER |
| BOOLEAN | Boolean | BOOLEAN and BIT(1). A MySQL TINYINT cannot map to a Boolean field. Convert it to 'true' or 'false' in a custom query. |
| DATE, DATETIME, TIME | Date, Date-Time (UTC), or Time | DATE, TIMESTAMP, and TIME. Cast strings to a date or time type first. |
| ENUMERATION | Enumeration | String values that match the enumeration. |
| REFERENCE | Reference | The integer key of the referenced record (foreign key column) |
| CONTAINER (field group) | Field group, or Field group (repeatable) | Data Hub source field group, JSON, VARIANT, STRUCT, OBJECT, RECORD, SUPER, a STRING that holds JSON, or an array of objects |
| Repeatable field (List) | Repeated mode | An array of scalar values |
Binary and BLOB columns are not supported.
Deletes in CDC data flows (Beta)
When a row is deleted in a source table, Data Integration sends a delete to Data Hub. What the delete does depends on how the table maps to the model. You do not configure this behavior.
Delete handling is in Beta. In some setups, a delete is skipped. Refer to Limitations for details.
What a delete does
- The only table in the data flow on the model, mapping every model field (including fields inside field groups): The golden record is end-dated. Its history is kept, and Data Hub sends the delete to the other sources linked to the record.
- Any other table: Only what the table maps is removed, and the record stays active.
- Plain fields and non-repeatable field groups: The fields are cleared. Refer to Clearing fields.
- Repeatable field groups and List fields identified by key: Only the matching items are removed. Other items stay, including items from other sources.
- Repeatable field groups and List fields identified by order: Nothing is removed. The skip is logged.
If a table maps only some of the model's fields, other sources might provide the rest. In that case, the delete clears only that table's part instead of ending the record.
Example
Consider a model named Customer with name, email, an Address group, and a Contacts group identified by contact_id.
- One table,
customers, maps every Customer field: Row 123 is deleted, and customer 123 is end-dated. - Three tables,
customer_info,customer_address, andcustomer_contacts:- A row is deleted in
customer_info. The name and email are cleared, and the customer stays active. - A row is deleted in
customer_address. The Address is cleared. - Contact C2 is deleted in
customer_contacts. Only C2 is removed.
- A row is deleted in
Clearing fields
Data Integration sends the field empty, and Data Hub sets it to null in the golden record, even if another source provided the value. The following exceptions apply:
- Required fields are never sent empty. They keep their value.
- If another source ranks higher for the field, its value stays.
- If the field is excluded on the Data Hub source, nothing changes.
What the delete event needs
The delete must include the columns mapped to the record ID and, for collection items, the item key columns. PostgreSQL sends only the primary key by default. To send all columns, set REPLICA IDENTITY FULL on each table. Data Integration does not check this at activation.
Updates are not deletes
A delete means the whole row was deleted. If a value is removed while the row still exists, that change is an update. Collections follow the Loading Mode setting.
Best practices
- For deletes to end-date records, load the model from one table that maps all of its fields.
- Map the same key columns to the record ID in every table on the model.
- Map tables with several rows for each record, such as contacts or addresses, to repeatable field groups identified by key. Make the item key part of the table's primary key.
- Use source ranking or field exclusion in Data Hub to protect values from other sources.
- On the Data Hub source, turn off Require approval to end-date records to apply end-dates right away. Keep it on to review them first.
- Use one Data Hub source for each source database, for example,
SQLSERVER.
Limitations
- With two or more tables on a model, or a table that does not map every field, Data Integration never end-dates the record. End-date it in Data Hub if needed.
- Clearing a field overrides values from other sources unless ranking or exclusion protects them.
- Deletes for collections identified by order are skipped.
- A delete or change for a record that is not in Data Hub yet is quarantined, and the delete is lost.
- After a record is end-dated, later changes are quarantined with the reason Record Already End-dated. Reused IDs and undeletes are not processed. Use the Restore End-dated Golden Record API to restore a record.
- End-dating propagates. Data Hub sends the delete to the other sources linked to the record.
- Rules apply within one data flow. Other data flows on the same model are not considered.
- If the item key is not part of the table's primary key and two rows share it, deleting one removes the item.
Batch size
The batch size is set automatically from the Data Hub repository, usually 200 records for each request. You cannot change it in Data Integration.